package com.ruoyi.common.core.domain.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class SysMailRecord {
    private static final long serialVersionUID = 1L;
    private Long mailId;
    private String sendAddress;
    private String mailTitle;
    private Date sendTime;
    private String receiveAddress;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getMailId() {
        return mailId;
    }

    public void setMailId(Long mailId) {
        this.mailId = mailId;
    }

    public String getSendAddress() {
        return sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public String getMailTitle() {
        return mailTitle;
    }

    public void setMailTitle(String mailTitle) {
        this.mailTitle = mailTitle;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public String getReceiveAddress() {
        return receiveAddress;
    }

    public void setReceiveAddress(String receiveAddress) {
        this.receiveAddress = receiveAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("mailId", getMailId())
                .append("sendAddress", getSendAddress())
                .append("mailTitle", getMailTitle())
                .append("sendTime", getSendTime())
                .append("receiveAddress", getReceiveAddress())
                .toString();
    }
}
